import request from '@/utils/request'


/* ********操作员******** */

// 操作员_登录
export function login(data) {
  return request({
    url: '/dologin.php',
    method: 'post',
    data,
    
  })
}


// 注册
export function doSigin(data) {
  return request({
    url: '/doSigin.php',
    method: 'post',
    data
  })
}

// 操作员_查询关键字
export function userGetByKeyword(data) {
  return request({
    url: '/user/GetByKeyword',
    method: 'post',
    data
  })
}
// 操作员_删除
export function userDelete(data) {
  return request({
    url: '/user/Delete',
    method: 'post',
    data
  })
}
// 操作员_修改他人密码
export function userSetOthersPassword(data) {
  return request({
    url: '/user/SetOthersPassword',
    method: 'post',
    data
  })
}
// 操作员_修改自己密码
export function changePwd(data) {
  return request({
    url: 'changePwd.php',
    method: 'post',
    data
  })
}


// 
export function userGetData(data) {
  return request({
    url: '/get_user_data.php',
    method: 'post',
    data
  })
}
